package com.deke.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 角色权限(AclRolePermission)实体类
 *
 * @author makejava
 * @since 2022-12-06 16:58:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AclRolePermission implements Serializable {
    private static final long serialVersionUID = -30625760023749302L;
    
    private String id;
    
    private String roleId;
    
    private String permissionId;
    /**
     * 逻辑删除 1（true）已删除， 0（false）未删除
     */
    private Integer isDeleted;
    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;
    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;

    public AclRolePermission(String roleId, String permissionId, Integer isDeleted, LocalDateTime gmtCreate, LocalDateTime gmtModified) {
        this.roleId = roleId;
        this.permissionId = permissionId;
        this.isDeleted = isDeleted;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }
}

